<?php

/**
 * @author Martin Pernica
 * @copyright 2008
 */

function getTitleOfArticle($id){
	$title = $GLOBALS['db']->query("SELECT title FROM ".$GLOBALS['db_prefix']."articles WHERE id = '".intval($id)."'");
	$title = $title->fetch_array();
	
	return $title[0];
}

?>